package cn.tedu.egweibo2.mapper;

import cn.tedu.egweibo2.pojo.dto.UserRegDTO;
import cn.tedu.egweibo2.pojo.entity.User;
import cn.tedu.egweibo2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserVO selectByUsername(String username);
    int insertReg(User user);

    int login(@Param("username")String username,@Param("password") String password);
}
